package com.cskaoyan.day30.work1._02factory._01simplefactory;

import com.cskaoyan.day30.work1._02factory._00bean.Animal;

public class SimpleFactoryApplication {
    public static void main(String[] args) {
        SimpleAnimalFactory factory = new SimpleAnimalFactory();
        Animal dog = factory.create("dog");
        Animal cat = factory.create("cat");
    }
}
